<template>
  <view class='header'>
    <view class='userInfo-box'>
      <AtAvatar :image="require('@/static/images/comment.png')" :circle="true"></AtAvatar>
      <view class='userInfo'>
        <text class='font34 mab10'>哄哄</text>
        <text class='font16'>未开通会员</text>
      </view>
    </view>


  </view>
</template>
<script>
  import {
    AtAvatar
  } from 'taro-ui-vue'
  import Taro from '@tarojs/taro';
  // import './header.less'
  export default {
    name: 'header',
    setup(props, {
      attrs,
      slots,
      emit
    }) {

    },
    //子模板
    components: {
      AtAvatar
    }
  }

</script>
<style lang="less">
.mine{
  .header {
    background-color: #FA6364;
    height: 280px;
    width: 100%;
    border-radius: 0px 0px 100px 100px;
    padding: 20px 30px;
    box-sizing: border-box;

    .userInfo-box {
      display: flex;
      justify-content: flex-start;
      align-items: center;

      .userInfo {
        display: flex;
        flex-direction: column;
        margin-left: 20px;
        color: #fff;
      }
    }
  }

}

</style>
